package com.linianda.service;

import com.linianda.dao.AdminDao;
import com.linianda.dao.impl.AdminDaoImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component("adminService")
public class AdminService {
    @Autowired
    private AdminDao adminDao;

//    public void setAdminDao(AdminDao adminDao) {
//        this.adminDao = adminDao;
//    }

   public  void  testservive(){
        adminDao.getById("1");
   }

}
